package com.liangwei.jd.vo;


import org.openqa.selenium.Cookie;

import java.util.Set;

/**
 * @author liangweih
 * @since 2019/3/14 18:02
 */
public class LoginResult {

    private boolean isSuccess;
    private String error;
    private Set<Cookie> cookies;
    private String username;

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public Set<Cookie> getCookies() {
        return cookies;
    }

    public void setCookies(Set<Cookie> cookies) {
        this.cookies = cookies;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
